package com.hgd.igreencar.biz;

import com.github.pagehelper.PageInfo;
import com.hgd.igreencar.entity.WebsiteUsers;

import java.util.List;

public interface IWebsiteUsersBiz {
    WebsiteUsers login(WebsiteUsers users);//登录

    WebsiteUsers queryOne(int userId);//根据userId查询单个用户

    int save(WebsiteUsers users);//新增用户

    PageInfo<WebsiteUsers> queryUserAll(String jurisdictionName, int currentPage, int pageSize);//根据权限名查询所有用户

    int delete(int userId);//根据userId删除用户

    int editUser(WebsiteUsers users);//编辑用户
}
